﻿@inherits AdminCompontentBase

<MAutocomplete TItem="MessageTemplateDto"
               TValue="Guid?"
               TItemValue="Guid"
               Value="Value"
               ValueChanged=ValueChanged
               Items="Items"
               Loading="_isLoading"
               OnSearchInputUpdate="UpdateSearchInputAsync"
               HideDetails="@("auto")"
               Outlined
               Clearable
               HideNoData
               HideSelected
               ItemText="r=>r.DisplayName"
               ItemValue="r=>r.Id"
               Label="@Label"
               Placeholder="@Placeholder"
               OnClearClick="OnClearClick"
               OnSelectedItemUpdate="OnSelectedItemUpdate" />